Error codes

More or less copies from the RST_STREAM, GOAWAY, and error handling sections of HTTP/2.0.