Network connections code now in external include.  Rights checking still needs a little more work but the basic functionality is in place. #324