TlsConnection : make the read method blocking with a timeout
Since we made the TlsConnection openssl calls non blocking some usage in the TlsTransport didn't act as intended. With this change the "read" method become blocking again but with a defined timeout (2sec by default).