[ticket/11613] Cookies does not work for netbios domain

A check for ipvp6 to work with domain.
Now will work for both ipip4 and ipvp6.

Changes according to:
https://github.com/phpbb/phpbb/pull/1975

PHPBB3-11613