Change: HTTP-server now takes JSON instead of PostForm and netdclient sends JSON.
Implemented so that JSON-data is sent instead of using PostForm.
This is a fix for issue #27.