implement VersionsCell.from_bytes() and fix some bugs in OnionCell