pts-core: More work on the WebSocket server code...
pts-core: add WebSocket PHP client... Really a bloody mess for the time being but it seems to work "just enough" for the moment to get other PTS 5.0 tasks moving. WebSocket help welcome as quickly just trying to get clean implementation going. Also added a few debug programs.