Make XMPPConnection an interface

create AbstractXMPPConnection.