add header to socketserialized