Fix formatting
Add better mesh security key handling for keys shorter than 16 bytes