fixing types and import names for Python 3
fixing remaining import
Merge pull request #33 from pyfarm/http_endpoints

fixing typos and import names for Python 3