Compilable Code. ClientPacketBufferHandlerThread functionality disabled.