Matches the packet size limit used by the plugin-api fork. Our 512KB limit caused "Connection lost" when their server sent large packets (e.g. chunk data) that exceeded our cap.