Added resolveId and tests. Also added convience function GetStringAddr to nodes.
Implemend sendMsg function for client.
Change broadcastMsg to use sendMsg.