share C++11 detection logic
Chapter 6 (sending/receiving message) of utility_client tutorial