Fixed asio buffer issues
Merge pull request #1 from matthewtff/tmp/1

Fixed asio buffer issues