Default host to '-' if envs not available

I ran into a case where I was trying to log something when the request object existed but before the request's env hash was fully populated which caused a warning ('Use of uninitialized value in substitution iterator') if the %h token was used in the logging formatting string.

This patch defaults the value to '-' (instead of a blank string) in this situation.