Fix for scheme parameter

The query-string variable 'scheme', which comes from the "HTTPS?" checkbox was always being interpreted as truthy. This is because req.param('scheme') is a string ('true' or 'false') and bitg if( 'false' ) and if( 'true' ) evaluate to true.