docs: public WsByteBuffer allocateBuffer(int size) {
          WsByteBufferPoolManager mgr = HttpDispatcher.getBufferManager();
          WsByteBuffer wsbb = (this.useDirectBuffer) ? mgr.allocateDirect(size) : mgr.allocate(size);
          addToCreatedBuffer(wsbb);
          return wsbb;
      }