Fix default application startup to start listening for HTTP requests.
Fix use of TCP connections outside of the event loop for the libevent driver.