I'm beyond frustrated with this ESP8266WebServer. It works, sometimes. Even just using the plain example code. It's randomly not responding, etc. What a piece of junk.
For example, just load the default page and refresh your browser 10x. It will fail. If it doesn't, try 20x.