Trying to init events server raises when given port is not free.

* Also fix and improve some tests.
Add doc and tests about events sync/async behaviour.

* Also fix docstrings identation so sphynx doesn't complain.