made endhandler public

Should make mod-formupload more flexible when chaining requests.