main: first attempt to create the TCP client socket after decoding the advertisment UDP message.