Added parsing of enabled protocols to the statusHandler
Indentation corrections
Added console debug line when using sendMessage()
Merge pull request #20 from njh/send-debug

Added console debug line when using sendMessage()
Normalised to double quotes
Merge pull request #18 from njh/status-protocols

Added parsing of enabled protocols to the statusHandler.