public ProxySettings addHeader(String name,String value){
  if (name == null || name.length() == 0) {
    return this;
  }
  List<String> list=mHeaders.get(name);
  if (list == null) {
    list=new ArrayList<String>();
    mHeaders.put(name,list);
  }
  list.add(value);
  return this;
}

public ProxySettings addHeader ( String name , String value ) { if ( name == null || name . length ( ) == 0 ) { return this ; } List < String > list = mHeaders . get ( name ) ; if ( list == null ) { list = new ArrayList < String > ( ) ; mHeaders . put ( name , list ) ; } list . add ( value ) ; return this ; }
add an additional http header passed to the proxy server .
