Socket packeg prototype fix