Change the way http requests are handled

Threw out httplib in favour of requests library
Minor spaces fix
minor changes to last commit

(forgot some test code in)
minor fix to login
Merge pull request #7 from elayeek/master

Changes to the way http requests are made - using requests instead of httplib + http proxy support