Add setReceiveTimeout() method + minor changes related SSL