Implemented calling callbacks in PHP land.

WebSocket::onopen is called when new client connects
and passed WebSocketClient object with sockfd property
WebSocketClient also has method ::sendText which sends
the passed string to the client.