Removed user_agent and referer from http, in favor of headers dict
http: formatting
http: Fixed missing part in conditional