Fixed server.py to allow any HTTP endpoint instead of just a hard-coded target.