code: public void init(final BOSHClientConfig session) {
          lock.lock();
          try {
              cfg = session;
              httpClient = initHttpClient(session);
          } finally {
              lock.unlock();
          }
      }
docs: {@inheritDoc}