Added HTTP methods

Also refactored a bit and fixed some bugs that caused Rokka to crash:
    Non-exhaustive patterns in function parseRequestQuery