Implements mark_read and mark_unread websocket events #264.