safe_read is guaranteed to raise or return a byte string of the requested length. It's particularly useful for implementing binary protocols.