Added first implementation of tls jack

It still needs some tests an proper handling of certificates.