Created client socket functions and the module parameters: remote address and port to connect.