Add `Conn.Origin()` and `TestClient.ok()`.

Change the `{ServerError, IncompleteError}.host` field types to
strings.
Expose `decoderFn` as `DecoderFunc`.
`Conn.Register()` should call `conn.addChannel()`.

This allows custom decoders to override the default `"register"`
decoder.