More server-client connection work. Fix bug not accepting more than 1 message.