improve closing handshake and state handling of ev-impl
remove on_close handling
process remaining data when receive returned 'closed'
allow code == nil
properly call on_close(was_clean,code,reason)
fix typo
Merge pull request #19 from lipp/ev-closing-handshake

Ev closing handshake