clean up http configuration