Separtaed out tls-client test and introduced client to server sending