corrected bugs in gracefull shutdown; corrected heartbeat communication between proxy and softphone