Fixes to HTTP connector.