Connect endpoint

yeas why not, I'll open a PR for that