Added checks for footprint generation region, added option to strip leading whitespace
Added option to optionally wrap generated response in soap 1.1 and 1.2 envelopes