Ev closing handshake

Implements the closing handshake for ev backends.
Provides on_close(was_clean,code,reason)

Addresses https://github.com/lipp/lua-websockets/issues/15

TODO: Add tests