Setting socket_select to 'null' instead of '0' boosts performance tremendously.

For Web-socket Server:
This is a simple fix for a MAJOR performance issue. the websocket server will spin on the main while loop while waiting for the socket to be written to, and that will chew up 100% of the CPU. This makes socket_select block indefinitely.