Added nonblocking input to server

broke networking again....