Implemented autodiscovery; this required me to build out the entire networking stack. References #3.