New code for messages and binary streaming.
Portability is still questionable.
mutex_test is corrupting heap on Win32.