Added remote config loading, ssl support