Initializes the UDP socket component.
This method must be called successfully before any other method can be called.