Server crashes when an "unknown method" is called (Or "no handler" is defined).

Without this patch a call to an unknown method crash the server because "response" in line 97 is undefined.
Which testframework did you use for the tests in /test? I could try to write a test for this issue.