Added WebSocket server based on phpws by Chris Tanaskoski (https://github.com/Devristo/phpws/)