isIpLiteral

True for IPv4 and IPv6 literals, which RFC 7252 §6.4 step 5 sends without a Uri-Host option.