Add Remote et needed pty stubs
Minor change in compilation order of main targets
Network: Fix range expansion function
Network: Return a sorted list of IPv4 addresses