Sets up the receiver to correctly capture sent UDP packets.