Move sample/ into resources/
ChatManager should not throw a NPE if 'from' is null

Fixes SMACK-551
Move host/port from ConnectionConfiguration to XMPPConnection

There semantic is that they now report the host used to establish the
connection. Therefore BOSHConfiguration needs to hostAddresses for
getURI().