Support for requests 1.0

Addresses issue #2. Leaves support for pre-1.0 intact.