[REM3-182] Enable buffer pooling, free buffers correctly during authentication process
Make buffer pooling switchable
Fix possible hangs under load from blocking under lock
Prep 4.0.1.Final
Next is 4.0.2.Final