Formatting
Handle error on send for client
Implement correct publish example, with option parsing