add version number to connect packet