Implemented protocol for getting offline messages