Testing socket connections on a ratchet WAMP stack with async messages from the webserver