OFMbedTLSTLSStream: Use more error codes