fixing android checking for remote urls with signatures

My first real pull request. Let me know if I did something wrong.