'Returns current value of specified option.
:param key: key of the option'

def get_option(self, key):

    if (key == 'rtmpdump'):
        key = 'rtmp-rtmpdump'
    elif (key == 'rtmpdump-proxy'):
        key = 'rtmp-proxy'
    elif (key == 'errorlog'):
        key = 'subprocess-errorlog'
    if (key == 'http-proxy'):
        return self.http.proxies.get('http')
    elif (key == 'https-proxy'):
        return self.http.proxies.get('https')
    elif (key == 'http-cookies'):
        return self.http.cookies
    elif (key == 'http-headers'):
        return self.http.headers
    elif (key == 'http-query-params'):
        return self.http.params
    elif (key == 'http-trust-env'):
        return self.http.trust_env
    elif (key == 'http-ssl-verify'):
        return self.http.verify
    elif (key == 'http-ssl-cert'):
        return self.http.cert
    elif (key == 'http-timeout'):
        return self.http.timeout
    else:
        return self.options.get(key)
