cookies are based on the host and independently of the port
Upgrade AHC 1.7.11, backport #998