Merge pull request #335 from aydany/master

Require a valid con before calling terminate
add TLS config and types to asio integration tests
Refactored server_endpoint to allow end users to access start_accept error states references #335

also more documentation