Allowed mutual TLS to be enabled

Added mutual TLS support, however I need to update this when we are about to read certificates out of the application collection being created in #15.

Also, this needs to set ctx.authenticated with the application object of the authenticated application, this relies on #15 as well.

Fixes #12