Ryan's Pull Request

Implementations of the network protocols (some of the code I pulled from Tausif's repo), also added a few comments and extended Listen() and Connect() functions.