Fixing detection of https through proxies (e.g. Amazon's ELB)
Router now uses Env internally for detecting secure connections (like it should have all along!)