Write timeval directly to token buffer
Fixed http scheme