The value infinity is not allowed. Your example functional $$ f(x) = \sum_{i=1}^\infty x_i $$ is not defined on the whole $l^2$, $D(f)\subsetneq l^2$.
Unbounded functionals are somewhat different: they are defined on the whole space, but are unbounded. In every neighborhood of the origin there are points, where the unbounded functional admits arbitrarily large values.