Added ts handling up to the HTTP layer.