A man has been charged with harassing Andrew Mountbatten-Windsor after reports the former Prince Andrew was threatened by a masked man while walking dogs near his home.