When a client tries to create a unidirectional stream towards a server, the server will throw a PROTOCOL_VIOLATION QuicError in the handleMaxStreamDataFrame function (specifically in the Stream.isReceiveOnly() condition). Commenting out the exception works as a temporary workaround. This error is probably thrown because the server sees that it isn't allowed to send on the given stream (because it is unidirectional).