Add support for using something not-urllib for sending the messages.

Also for adding to a queue.

Signed-off-by: Chris Lamb <chris@thread.com>