added support for form/request body data. some functional tests are missing