sysread $sock, $total_bytes_to_read, 20; # could get less here too...