Support custom SOAP headers. Refactor elementFormDefault handling.