SSL support in Api