Correctly handle HTTP CONNECT on the HttpClient.

This allows to correctly use HTTP CONNECT. Related to : https://bugs.eclipse.org/bugs/show_bug.cgi?id=419211

@purplefox please review :)