http: Remove unused functions.