public TestProxySelector(int server_port,int proxy_port){
  this.server_port=server_port;
  this.proxy_port=proxy_port;
}

public TestProxySelector ( int server_port , int proxy_port ) { this . server_port = server_port ; this . proxy_port = proxy_port ; }
creates proxy selector instance . selector will return the proxy , only if the connection is made to localhost : server_port . otherwise it will return no_proxy . address of the returned proxy will be localhost : proxy_port .
