Added message id return to SendMessage

Fixes #159