Chat server and client build with eventmachine