Non-blocking socket server