Added mqtt.createConnection and added options for mqtt.createClient.