fix(socket): remove duplicate beforeSend callback phase