Flexible Transfer Learning under Support and Model Shift