Implemeneted client-side acknowledgement of messages. Removed reliance on server-side heartbeats