Protocols.HTTP.Query: Support async keep-alive.

If a Protocols.HTTP.Query instance is used with a keep-alive connection,
async_request fails if the remote end closed the connection.

Fixes [bug 7143].