updated peerweb connect() function to use peer url