Read and write in the event loop with a new AsyncSocket