Add missing ssl default port
Small template cleanups