Huge Networking Update

Adds peer-to-peer messaging and element-to-server messaging.