Network multiplexer code

Finished most of the code for the network multiplexer (some of it I fetched and merged from Tausif's repo) and implemented the Listen() and Connect() functions.