can now connect to clients and send messages (there is a memory
corruption bug when sending messages though...)