Asyncronous HTTP proxy with tunnelling (CONNECT) support