Fix for callback as single argument to mqtt.createClient

The callback was overwritten with defaultPort.
Changed the order of assignments to make it work.
Merge pull request #32 from kmpm/fixes

Fix for callback as single argument to mqtt.createClient