Add DSN parsing to StaticConfigTrait