curl plugin: Use the utility functions for config handling.