-record(endpoint, {host :: binary(), port :: integer()}).