code: public Chat createChat(EntityJid userJID, ChatMessageListener listener) {
          return createChat(userJID, null, listener);
      }
docs: Creates a new chat and returns it.
  
  @param userJID the user this chat is with.
  @param listener the optional listener which will listen for new messages from this chat.
  @return the created chat.