PiServer.py: remove shebang because DOS format does not agree with Pi execution.
Edit server to not crash when phone disconnects and edit pages to use socket client for sending commands.