text: Title: 400 and slow loading speed when access homepage
  Body: ```
   * Environment: production
     WARNING: This is a development server. Do not use it in a production deployment.        
     Use a production WSGI server instead.
   * Debug mode: off
   * Running on all addresses.
     WARNING: This is a development server. Do not use it in a production deployment.        
   * Running on http://192.168.124.17:5000/ (Press CTRL+C to quit)
  127.0.0.1 - - [11/Mar/2022 19:50:11] "GET / HTTP/1.1" 200 -
  127.0.0.1 - - [11/Mar/2022 19:50:12] code 400, message Bad request version ('localhost\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00')
  127.0.0.1 - - [11/Mar/2022 19:50:12] "  üª4ÍÉ
                                               ·0cË<A2¤:_o¢%%þ-iA Caï!½X                    ¸¸#.RfK°ØJ&2Û¨ÿ-Ôsí>  ÊÊÀ+À/À,À0Ì©Ì¨ÀÀ  **      
                                                          localhost                           ÿ   " HTTPStatus.BAD_REQUEST -
  127.0.0.1 - - [11/Mar/2022 19:50:12] "GET /?app=index HTTP/1.1" 200 -
  127.0.0.1 - - [11/Mar/2022 19:50:12] code 400, message Bad request version ('localhost\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00')
  127.0.0.1 - - [11/Mar/2022 19:50:12] "  ü÷
                                            ¥À3ÑÎA5!ªÇTC&YñëùIÕÐË¹ 'Àï¨;                    §Û.E=@PP"7zKQ£TÃ¥¥?àÐFÊ  À+À/À,À0Ì©Ì¨ÀÀ  jj      
                                                           localhost                          ÿ   " HTTPStatus.BAD_REQUEST -
  127.0.0.1 - - [11/Mar/2022 19:50:12] code 400, message Bad request version ('localhost\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00')
  cf½¨<"Þº
          Ü¦ öi8­\\<Å=
  ÉS  À+À/À,À0Ì©Ì¨ÀÀ  ªª                                                                        
        localhost   ÿ   " HTTPStatus.BAD_REQUEST -
  127.0.0.1 - - [11/Mar/2022 19:50:12] code 400, message Bad request version ('localhost\x00\x17\x00\x00ÿ\x01\x00\x01\x00\x00')
  127.0.0.1 - - [11/Mar/2022 19:50:12] "  ü|¦b5lN]?¼9_ÕR¤³OÀêov= /¦FYÅÞÄý                   ýìå}É¼âAàÇÂ~c^±@¦  À+À/À,À0Ì©Ì¨ÀÀ  ZZ      
                                               localhost   ÿ                                 " HTTPStatus.BAD_REQUEST -
  en <class 'str'>
  ```
  