Using HTTP_HOST first; fix
Ignore common ports; host-name fix