Made cookie parser ignore custom port.

Using `host` instead of `hostname` -> `example.com:1337` vs `example.com`.