New test and separation of port resolution so that future servers may be created with different implementations that dont depend on a local runtime