Implement async bytes reads from sockets.