Added flexibility to get_server_networks(). GitHub #400