Make the ip address optional

Make the ip address optional (and it will use the local ip)
Change from uint32_t to IPAddress type