The read_some operation may not read all of the requested number of bytes.
Consider using the read_at function if you need
to ensure that the requested amount of data is read before the blocking
operation completes.