I tried this -- it appears to work for client side messages, but the problem is that messages will not be sent or received with the proper encoding (so you will not be able to read other people's messages, and other people won't be able to read your message, but you can read your own message).