Update to documentation/add example

Created a simple example
Uptate to the documentation based on created simple ssl server
Small bugfix to allow clean shutdown of server without warnings when
using basic ssl (no client authentication)