Implementations are pretty rough and simple at this point, but it's a start. R=gri CC=golang-dev https://golang.org/cl/1250043