A stream wrapper that ensures data integrity. Particularly useful for sockets.