Close streams when a connection is terminated

This also adds some things to let node-http2 emit the
proper events.
This situation is handled by the stream state machine, don't need to check this here.