My code is pretty basic, but I am sure I am missing something. It smells like a multi-thread issue the initialization code runs in a different thread than the app generating the outbound HTTP messages, and in a different thread than the event loop.
Does anyone see something obvious here?