Add http/https socket factories, that respect netbeans proxy settings