Removed https/wss security so iOS devices can connect from phonegap apps.
Added Draft76 Websockets so android devices can connect from phonegap apps.
Added TCP_NODELAY to websocket server socket, to eliminate lag jumps
Added check of /tmp/linuxnc.lock before halcmd, to prevent segfault log messages to system log file