added helpers for handling requests parameters
panic with http error on wrong value type. alos added bool support