Use Requests instead of httplib

This resolves issue #279