Now supports direct submission of js/FormData.  Integration tests updated.
--amend