Working chat server with multiple clients. Works with firefox. Issues with chrome