Example client/server code that uses boost::asio in sync and async modes.