Publish to multiple channels at once

Included a feature to publish to multiple channels at the same time using curl_multi and the corresponding tests.