add modification of https://github.com/geopython/OWSLib/pull/28, credit: @kwilcox (#28)