A more concise way to parse cookies.
Fix the behavior of falling back to built-in RESTful handler.
Minor fix.