Fixed crash bug in applyOutputHandler()

Since the "next" parameter is missing in "applyOutputHandler",
Application crashes when "next" method is called in "staticMiddleware".
Merge pull request #1 from ohcannotangel/fix

Fixed crash bug in applyOutputHandler()