Add HTTPClientResponse.upgradeConnection()

Since the response does not have access to the request headers,
the expected protocol must be supplied as a parameter.

Signed-off-by: Luca Niccoli <l.niccoli@awtech.it>