Increase the max payload size according to the not-yet-documented change for APN (256bytes->2048bytes).
Centralise the value in a constant
Update the test case for truncation and exceptions