Add a unique type for the port

Clarify the intent of the functions by creating a type for the PID
returned by the port gen_server.