Server uri can be preset when constructing the server

Closes #754