Retain incoming closed streams for dependency tree

The number of closed stream to keep is limited by
MAX_CONCURRENT_STREAMS - current active stream.
Fail nghttp2_submit_settings if there is pending SETTINGS frame in-flight

pending_local_max_concurrent_stream is now set in
nghttp2_session_add_settings, rather than after frame was sent.