Move CURL initialization to its own function, add retries to both session initialization and basic.publish, reset all items on new session, increase session timeout, increase exception verbosity.
Move CURL initialization to its own function, add retries to both session initialization and basic.publish, reset all items on new session, increase session timeout, increase exception verbosity.

MeetMe/VorpalBunny