Add initial interfaces and code for TLS support. Interfaces are right; code needs...