Fix the main integration test by using tls.Listen