Updated for compatibility with Requests 1.0

Made some minor changes to support Requests 1.0.
Also fixed a bug in which hotpotato could attempt to parse non-JSON or
-XML content.