add network hook and XSmsMessage