Add Queue for Messages when connection is not established

when another message is send try to connect again and send all messages in queue to fluentd
if an error occurred reconnect in reinitializing the output stream