http: add test to serve content in index.html

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/4798071
2 files changed