client.js: Handle generic ON/OFF commands
server.js: use serialport and parse responses

Parse device output depending on the command being executed:

- TEMP command returns a char array ended with '\n'.
- STATUS returns a single byte that contains a status bitmap.