Fixed problems with non-ascii characters.

Server side: wrapped a flexi-stream around the input stream, which
allows the server to interpret all utf-8 symbols.

Client side: All messages are encoded and decoded to/from utf-8.