fix host header

Make sure we correctly pass the host header without port when using the
default port. Fix requests to stackoverflow and bugzilla.

spotted by @damjan on irc. Thanks!