make compatible with new requests package
Merge pull request #3 from UKTV/new_requests2

make compatible with new requests package