Allow format_log in ssl vhosts as well

This makes the format_log option work in an SSL vhost. I took the easy route and copied the non-ssl code.