Fixed bug that caused the last part of an IPv6 address to be parsed as the port number when the last part is all numeric.