added params object for common http parameter conversions; corrected servlet behavior and corresponding unit test