[WIP] normalize header values to bytes