A PHP/MySQL driven chat with sockets.