onStreamHalfClosed

Notifies the listener that the given stream has transitioned from OPEN to HALF CLOSED.
This method will not be called until a state transition occurs from when
onStreamActive(Http2Stream) was called.
The stream can be inspected to determine which side is HALF CLOSED.

If a RuntimeException is thrown it will be logged and not propagated.
Throwing from this method is not supported and is considered a programming error.

onStreamRemoved

Notifies the listener that the given stream has now been removed from the connection and
will no longer be returned via Http2Connection.stream(int). The connection may
maintain inactive streams for some time before removing them.

If a RuntimeException is thrown it will be logged and not propagated.
Throwing from this method is not supported and is considered a programming error.