changed protocol def for getting messages

changed protocol for getting messages to avoid confusion.