Improved contactlist retrieval

Retrieval of contact list now gets all contacts (Mxit sends a max of 27 contacts per request, so a loop is necessary).
Amended Authenticate function to only append headers if not already there. (authorisation errors given with duplicate headers).