Improve compatibility with negroni and other http-based middleware.
Merge branch 'albrow-compatibility'