Add is_ack/1 predicate

This variant doesn't validate the number of handled stanzas.
Make SM an optional step when initiating the connection