I think it might actually be 1016 per my previous post, and not 1024. When you get the ping results back, you'll see the "actual" number -- like when you use 56, you get 64 (56 data bytes and 8 header bytes). So if you get 1032 instead of 1024, then you should be using ping -s 1016 hostname. 🙂
Good luck!