code: private static synchronized void createStream(Http2Connection conn, int streamId) throws Http2Exception {
          conn.local().createStream(streamId, false);
          if (LOG.isDebugEnabled()) {
              LOG.debug("Stream created streamId: {}", streamId);
          }
      }
docs: Creates a stream with given stream id.
  
  @param conn     the HTTP2 connection
  @param streamId the id of the stream
  @throws Http2Exception if a protocol-related error occurred