finished implementing section 3 of RFC2812

Okay, I think that's all of the sendable and receivable messages in
section 3 of the RFC. Still need to tackle optional messages (section 4)
and replies (section 5).