dual mode support ssl,non-ssl