Zeroconf support for headless server

Allow flask server to broadcast over public ip. Use Zeroconf protocol to publish the service (using avahi), allowing any client with Zeroconf to search and connect to any Freeseer client on their network.
Same here. Make this the inverse of whatever you change the above method to.