Added onMessageReceived to NetworkObserver