[NetworkServiceMock] fixed fix 39bee2692d

getSentMessage() and getPeer() should return respectively the last message sent
and the last dest peer to emulate their previous behavior.