Remove http server's behaviour depending on the user agent.
Refine http_client.py