class Headers {

    public String getFirst(String key) {
        return headers
                .stream()
                .filter(h -> isName(h, key))
                .findFirst()
                .map(Header::getValue)
                .orElse("");
    }

    public  Headers();
    public  Headers(Collection<Entry> entries);

}