bonjour server and client now functional. fixes a bug in heartbeats as well