Modify function exists to improve consistency of results

Modified exists function removing reference to http protocol in final check, as checking against response code is more dependable
Merge pull request #23 from wwotoole/patch-1

Modify function exists to improve consistency of results