Add request parsing helper, add TIMEVAL_* macros, move timestamps to identify module