Use Go 1.3 http.Server.ConnState for graceful stop.

This can finally preempt idle keepalive connections.
Use SetKeepAlivesEnabled.
s/waitGroup/wg/
Merge remote-tracking branch 'origin/go1.3'

Conflicts:
	server.go