client to send messages over net