Small cleanups on imports
Port to requests >= 1.2, based on recent work by sanga.

Based on https://github.com/sanga/locust/tree/requests_1_2

Ported locust to requests 1.2, all tests run properly.