I found two small things that seems to need some improvement:
1) If the message to be sent contains a ":" the message is not handled correctly by the receiver. It is just skipped as it does not have 3 but 4 ":"
2) If the "login name" contains a non ascii character, for example a ö, the message is not transmitted correctly. The last character is missing.