remove extra \ns from tlshandler output