Parse connect requests

A host header is not required when a processing a request with the CONNECT method, and in fact, Wget (and probably other clients) does not send a host header when sending a CONNECT request.

This pull request adds an extra function to pull out the host and act as if there had been a host header, even if there wasn't one.

This allows cowboy to handle all CONNECT requests, even ones without a host header.