Serialize domain parameter set ecdh

This allows serailaisation of DomainParameterSetEcdh. Previously this worked through a workaround for  standardized domain parameters only.