Proper handling of received messages

* Received messages are passed to class deriving from Node
* Fixes a bug with sending wrong credential while passing HELLO msg
* Added additional log level
* Extended connect-test example by sending sample messages