Now handles unnamed port connections and named port connections that don't connect to anything