Adds working /set/ handler. Needs sensible JSON packet return data.