Fix fake_gethostbyname for requests 2.0