added tolerance for OpenRosa servers that do not respond with X-Openrosa-Accept-Content-Length header
fixes issue with previews that do not have form parameter, edited ad