Websockets and Event-driven Programming using ReactPHP and Amp