Replace requests with httplib2

Fix broken API client code.