deliver the promise & fire an event on exceptions
allow graceful quitting
SSL support