add callback on connected for tls usage
yield to handler before action
conditional
Merge pull request #3 from justinlynn/add_connection_callback

Add connection callback