refactor OutgoingMessage::storeHeader
fix a cpplint error
use TypedJsArray