title: cannot run telegram bot with proxy
body: <p>I wrote a robot under the server
  And I want to run with a proxy
  But I miss the following error
  mybot is:</p>
  <pre class="lang-java prettyprint-override"><code>     public class StoreBot  extends TelegramLongPollingBot {
              public StoreBot( DefaultBotOptions botOptions) {
                  super(botOptions);
              }
          
              public int creatorId() {
                  return 0;
              }
          
              public StoreBot() {
              }
                          ....
          }
  </code></pre>
  <p>mycode for run bot is:</p>
  <pre class="lang-java prettyprint-override"><code>     ApiContextInitializer.init();
          
       // Create the TelegramBotsApi object to register your bots
       TelegramBotsApi botsApi = new TelegramBotsApi();
          
       // Set up Http proxy
       DefaultBotOptions botOptions = ApiContext.getInstance(DefaultBotOptions.class);            
          
       botOptions.setProxyHost(&quot;2.181.254.198&quot;);
       botOptions.setProxyPort(8580);
       // Select proxy type: [HTTP|SOCKS4|SOCKS5] (default: NO_PROXY)
       botOptions.setProxyType(DefaultBotOptions.ProxyType.SOCKS5);
          
       // Register your newly created AbilityBot
       StoreBot bot = new StoreBot(botOptions);
          
       botsApi.registerBot(bot);
  </code></pre>
  <p>when run get this error:</p>
  <pre><code>org.telegram.telegrambots.meta.exceptions.TelegramApiRequestException: Error removing old webhook
  ...
  Caused by: org.telegram.telegrambots.meta.exceptions.TelegramApiException: Unable to execute deleteWebhook method
  ...
  Caused by: java.net.SocketException: Connection timed out: connect
  </code></pre>