Create Connect.php

dependency for the other merge.. 

creates persistent reconnecting websocket