added facility to upload files and put as stream in sessionKeys (for
method POST)