Implement raw message delivery

Implement raw message delivery and testcase