Added client header and serialization routines