added check for X-OpenRosa-Content-Length header, fixed submission queue error (closes #399), increased upload file size allowed