sprintf for wererat
changed while loop http_process()