Timerec support for hstp server and some other htsp improvements