Fix serious warnings in http-server-demo.