[FLINK-19001] Initialize okhttp lazily.

This commit serves multiple purposes:
1) Since the providers are initalized also during planning,
making the http client lazily initalized would improve
planning time.
2) It would allow making the provider serializable.
1 file changed