Merge pull request #332 from zaphoyd/tutorials

Update examples and tutorials
add debug server example
add copyright info to debug client
code style and documentation
add debug header to integration tests
fix memory leak when a connection fails references #323
Fix memory leak on create

If the socket fails to initialize, e.g., by omitting the tis init
handler, the connection is leaked, since there is a circular reference
between the connection and its async_read/async_write handlers. To fix
this, check the error code, and reset the handler is an error has
occurred.
Merge pull request #333 from aydany/master

Fix memory leak when init_asio fails
code style and whitespace
pass better information about TLS handshake failures
Avoid leak when stopping server

If accept fails, e.g., because the server is no longer listening the
connection object is not terminated and it results in a memory leak:
connection -> handler -> connection.
Merge pull request #334 from aydany/master

Avoid leak when stopping server
whitespace and don't accept if we know the transport isn't listening references #334
Require a valid con before calling terminate

If get_connection returns null, e.g., if during stop the tls_init
handler is removed from the server, con->terminate will cause a crash.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	websocketpp/roles/server_endpoint.hpp
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
include hdl in message actions

This is not strictly necessary for the broadcast server example. As
this example is commonly used as a starting point for new programs the
lack of hdl on message action is a source of surprising behavior.
listen errors are now reported to the caller