Re-add S3FPacketCustomPayload patch.

This fixes an issue where a client with more than a few mods couldn't
connect to a MP server.
This patch was taken (almost) verbatim from the 1.7.2 branch. Only change I made was the packet size.