now supports gob.GobEncoder/gob.GobDecoder