Fixed at least two bugs when receiving non-standard requests.
Fixed at least two bugs when receiving non-standard requests.

guoxiao/Simple-Web-Server,eidheim/Simple-Web-Server,moodboom/Simple-Web-Server,guoxiao/Simple-Web-Server,moodboom/Simple-Web-Server,eidheim/Simple-Web-Server