[ssh plugin] 256-colour helper stuff

This is a plugin to allow a user to run their local terminal emulator with many colour bells, yet degrade gracefully on remote systems that do not have the extra bells enabled/around