Modify socket to non-blocking mode.