Support differences between express and restify

fixes #1