change the way of connect to sms server