Add Socket support.