time/version reply flooding protection and php chatui

time/version reply flooding protection by Mike
chatui.php by Duke