refactor checkRequest
Merge branch 'master' of https://github.com/unistra/excalibur