Some fixes on HTTP proxy.