Bump eventmachine dependency to latest released "stable".
Make logger more usable.

Connection and plugins can use logger now.
Add ssl support.
Add ssl option and improve log messages.
Allow to pass user and password for server that require auth.
Ugly workaround for too early on_connect.

Ideally it should call on_connect after server response.
Remove dead code.
Bump version.