Motivation:
Several thread-safety issues were missed in code review. This patch fixes them.
Modifications:
- Removed the use of an unstructured Task, replaced with eventLoop.execute to
ServerHandler's EventLoop.
- Stopped ClientHandler reaching into the benchmark object without any
synchronization, used promises and event loop hops instead.
Result:
Thread safety is back