Added cast so UA will build under windows.
Update protocol per GA's update 2014-04-16