Fixed asio buffer issues