Add TextHeaders.getAndRemove(...)

See #2649 for motivation
I found that it is 4 in method `DefaultTextHeaders.getAll`. If we change the number here maybe should change that too.