Reduces cyclomatic complexity score and makes code more readable.
Includes TLS authentication, to authorize peers based on the subject of their X509 certificate.