hook for host header of PhpBrowser: now sends correct host header with a port