Fixed a bug preventing TestNetConnect from parsing the IP and port correctly