client sents simple message to server when rainbutton is clicked