Avoid setting an incomplete header if scope is nil.

Some application servers expect the hash to be well formed, at least Webrick
and Passenger require this fix to perform correcly.
Merge pull request #4 from sante-link/nil_header_fix

Avoid setting an incomplete header if scopes is nil.