Separated out common functions into a separate file
Prefixed library functions with 'mqtts_'
Moved automatic client identifier generation into mqtts_send_connect()