create an empty object if the option of UDPSocket constructor is not provided