Modified client method to simply open a socket and send a message instead of separating them