socket.php now communicates with the server well enough. Up to Config. Needs cleaning. RESTART APACHE IF IT WONT DIE.