Hide encoding of server features behind a type

Signed-off-by: David Scott <dave.scott@citrix.com>