rhbz980670 add template method for okapi adapters to set default params
rhbz980670 prevent whitespace collapse in downloaded HTML documents