Error handling, testing
Close on version mismatch
Close on unknown message type
Refactor length check
Build script
Send external announcements
Perform external queries