Fixed socket buffers being written to by multiple asio threads when multiple async operations are queued simultaneously.