Consider removing the factory as `DatagramPacket` is `AnyVal`.