adding the ability to accept a server endpoint location