tls.Config fixes

Make sure to use the same tls.Config will all TLS servers. Added API to expose tls.Config for modification from app code.