fix aligning
check for tls config in destination
whitespace fix
implement tls configuration