Adding clearing of default java.net.ProxySelector in case loaded by web app. Thanks to Kenny Moens.