Implement /set call

(Currently returns 500, even though it works.)
HTTP 500 fixed
Merge branch 'broken-server'