fix - AttributeError: 'CaseInsensitiveDict' object has no attribute 'has_key'

fixes https://github.com/kennethreitz/requests/issues/1402