add missing self.server_url function, fix 0.4.0 version breakage problem.