Added proxy handling (standard JRE proxy selector)