Added `port` and `path` fields to the Endpoint class