change SERVER_URL_PREFIX into a parameter, fix port number in docs