Add send event test.
Add server tests.
Refactor handler.
Cleanup server.
Add handler tests.
Add socket test.
Make Runtime injectable.
Cleanup socket types.
Add SocketTest.