Function bodies

Support specifying a function taking postdata and returning responsedata for the "body" property