A Synchronous PHP Ripple websocket client