Most of the time, implementing an http handler consist of a small amount of logic. Function handlers are a simplified way of adding such a logic, they accept a lambda expression of various types and eliminate the need to create a type for the handlers. The prefered way of creating a handler is by using the json_request_function, it would use auto-boxing to return a json object. Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>