Issue 509 - Fix for nullpointer + added delay before initial reconnect attempt.
Merge pull request #93 from dvanherbergen/mqtt

merged 'Issue 509 - Fix for null pointer' - thanks Davy!