Implement client communication

Communication with clients is now implemented and working. More events
and other stuff need to be added still.
UTF-8 support get!

Also remove a bunch of unnecessary debug messages.