fix #4 change send_message as sync, add post_message as async messaging
fix #3 add enum class relay_e as relay policy
support #4 changes for the example-1