Clean up sample code

recent version of asio::buffer now handle std::array
Merge pull request #3 from rodgert/master

Clean up sample code