parseMessage & parseAnswer methods implemented.