Add publish() to send messages from client

Based on https://github.com/cargomedia/socket-redis/pull/49