Add msg_try_receive (#65)

msg_try_receive implementation by ludwig.

looks reasonable to me, please review!

looks OK to me.

Merged #65.