updates to UDPGateway for Payload splitting