Prepend outgoing Close frames with a status code.

Required according to RFC6455, 5.5.1.
Read status code from incoming Close frames.

Currently the status code is ignored; it should be exposed via
`Close somehow.
Merge pull request #15 from j0sh/master

Prepend outgoing Close frames with a status code.