httplib2 not using http_proxy

I am trying to test Ansible uri module with external SOAP site. My server is behind proxy. When trying to connect it is attempting to connect using SOCKS even though http_proxy is set. How to force Ansible to use HTTP proxy instead of SOCKS proxy. Is it something to do with httplib2 configuration?