Add asio buffer management.
Fix bug in as_string() converter.
Use correct cookie nonce and box.
Cleanup.
Catch std::exceptions.