Fixed the implementation for querying for IPv6 for conn2/conn3/conn4
Fixed the regular expression so that it is more code friendly (less matching arguments needed).