refactor: rename "endpoint" to "port"

A quick fix for #72.