code: public Number reserveStreamId(Number streamId) {
          if (log.isTraceEnabled()) {
              log.trace("Reserve stream id: {}", streamId);
          }
          if (reservedStreams.add(streamId.doubleValue())) {
              return streamId;
          }
          return reserveStreamId();
      }
docs: {@inheritDoc}