fix(socket): log socket errors