moved ack functions into SOD library from client, added function to parse received emssage