added support for mongrel2 URL_SCHEME #562