fix ipv6 address as host, path without '/' at begining