working on enhancing http request for Resty. Using httplib instead of urllib which allows us to change the request method easily.