Robust Estimation and Inference for Generalized Linear Models