Add config file support in samples/http