Properly set attachment for accepted channels

- Also Split Raft RPC encoder/decoder from the length-field framing handlers.

Resolves #18.