Fix URL formatting for IPv6