ByteBuffer: Re-added Single-thread access checker.
Server: Fixed a MSVC warning.