Fixed crash of monitor.lua when browser rapidly refreshes. Correctly implements HTTP/1.1 specs on persistent connections