added methods to return cipher string from net lib, added template tags tls_mode and tls_cipher