Add TextHeaders.getAndRemove(...)

See #2649 for motivation
maybe start with 2 ? Seems more likely then 4.