Added support for returning info to client (i.e. public ip address)