JSON messages and executing server commands

Added 'name' and 'desc' attributes to the LED class. Daemon now sends
the registration message after making the socket connection and can
receive/execute/reply to commands from the server.