Add support for HTTP, HTTPS, SPDY, WS, and WSS.