Added select to Network Router, create_pipe makes pipes non-blocking

Network Router now uses select to monitor the gameplay and receive pipes.
create_pipe uses fcntl with O_NONBLOCK to make the pipes non-blocking.