Move HTTP response handling to a separate handler.
Fix character encoding test case.
Merge pull request #730 from jagoda/fix-charset

Fix character encoding test case.
Merge pull request #729 from jagoda/feat-handler-redirect

Move HTTP response handling to a separate handler.