Slightly more sensible argument parsing for htparser.