Add call backs for write_message and cast_vote
Update have_not_voted to use new recieve method
Remove OnSocketRecieved; remove smjansson checks