Added /connect endpoint