Replaced httplib with requests
Using request.json() instead of request.text
Merge pull request #17 from theharshest/bug-1072745

Replaced httplib with requests