Adding tls

fixes issues #1 along with adding some colour to the output of the debug