update sample
repalce received_msg_queue to boost::asio::io_service