Fix missing optional arguments

Tornado would reject requests when an optional argument was missing.
Merge pull request #19 from williamjacksn/r4

Fix missing optional arguments