client: allow binding of non-ascii keys, refs #332