Didn't pick up any traffic though for some reason - didn't spend much time on it though.
what is imei for iphone? is it the same in settings-->general-->about-->IMEI?
But even when the code is calculated, wouldn't it may be better to request it from the server? Because the original client seems to do it also...