This is not correct. The Beeper client directly connects to Apple's servers while bypassing authorization checks through serial number spoofing. They did not build their own infrastructure based on reverse engineering iMessage.
You have to do that to communicate with iMessage. The infrastructure is the Internet, Apple is just operating a mailbox and the only way to send a letter to that mailbox over the public infrastructure is to bypass the auth check.