Cleanup network module.
Cleanup handler test.
Cleanup socket handling.
Add socket test fixtures.
Add method test.
Add subscribe and unsubscribe tests.