ServerSideScripting: Add parameters, request headers and server variables as global objects instead of passing them as arguments.
WebFrontend: Switch to use the global object copy of request parameters instead of the one passed as an argument.
Fix inversion of logic in [b3e01c36]