tests: Add initial set of protocol tests
Update IDEA project file
Send network:started and write warnings to stdout instead of stderr

Tests now passing