Application needs to use request object, not SERVER
Merge pull request #2 from phavour/application-use-request

Application needs to use request object, not SERVER