completed message/msgport implementation
first test seems to be ok (reply included)