Move date header handling to the connector