Added utf-8 support and limited message maximum length to prevent unexpected disconnects