Revert "add JSGI middleware"

This reverts commit d7c29f01f09fb4470a93e39b403e6d4ab795bdaf.