For a transitional period only, re-add DEPRECATED functions

These are mostly undesirable because they lead to poor performance
by using strings rather than Cstruct.ts.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>