make didReceiveData method in delegate protocol optional