Added getHeader method to more easily extract hdrs.