feat(ngSocket): implement onError callbacks