TS-2729: add some const qualifers to Vec and MIMEField

Add some const qualifers to Vec and MIMEField. This is needed for
subsequent HPACK patches.