public String header(String name){
  return (String)headers.get(name.toLowerCase());
}

public String header ( String name ) { return ( String ) headers . get ( name . toLowerCase ( ) ) ; }
the headers are stored and fetched as lower case .
