Added configuration for maximum packet size with default of 256KiB