support mongrel2's URL_SCHEME field