Addresses issue from here: https://github.com/openwrt/packages/issues/7367#issuecomment-437685598 The SSL module in Python doesn't handle properly all the combinations of NPN between all OpenSSL & LibreSSL versions. This patch fixes this. Also pushed a report & proposal upstream to Python: https://bugs.python.org/issue35264 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>