A fully functional network api (with javadocs).