Prevent specific encoding options from being clobbered

The `keyEncoding` and `valueEncoding` options if set are always clobbered by the default `encoding` option, rendering them completely impotent.