added some debug code for getting 400 back as one trys opening a document on FW from OJS and for sending a empty request to OJS by submitting a FW document to OJS.
add some httpresponse for debugging