Clean up sample code

recent version of asio::buffer now handle std::array