Adding url.URL interface to server to ensure valid formatting.