title: Python telegram bot via proxy with authentification
body: <p>everyone.</p>
  
  <p>I am trying to create a simple telegram bot. In my country telegram is blocked so I need to work via proxy.</p>
  
  <pre><code>from telegram.ext import Updater         
  from telegram.ext import CommandHandler  
  
  import os
  
  def start(bot, update):
      print("Hello")
      bot.sendMessage(chat_id=512562849, text="Hello.")
  
  REQUEST_KWARGS={
      'proxy_url': 'http://93.171.217.48:10996',
      'urllib3_proxy_kwargs': {
      'username': '***',
      'password': '***',
      }
  }
  
  
  updater = Updater(token='&lt;BOT_TOKEN&gt;',
                    request_kwargs=REQUEST_KWARGS)  
  
  
  start_handler = CommandHandler('start', start)  
  
  updater.dispatcher.add_handler(start_handler)   
  updater.start_polling()
  </code></pre>
  
  <p>But I have the next log</p>
  
  <pre><code>Exception in thread updater:
  ...
      _HTTPConnection.__init__(self, *args, **kw)
  TypeError: __init__() got an unexpected keyword argument 'username'
  </code></pre>
  
  <p>I used <a href="https://github.com/python-telegram-bot/python-telegram-bot/wiki/Working-Behind-a-Proxy" rel="nofollow noreferrer">the next docs</a>.</p>
  
  <p>The free proxy works ok, but for my goals, it's bad to lose connection time after time. I prefer not to work under VPN either because of some bureaucracy in my company. </p>
  
  <p>Thanks in advance!</p>