Add more functions to the http management api

I fixed the port and the content type for http requests. Both changes are needed to enable the PUT requests. I added (all?) missing functions from the remote http api. This enables manipulations of vhosts, users, permissions and policies.