Added send and receive functions for ACK and other messages