Support separate HTTP ports for Raft and API

I see they are a bit crufty, so are not directly usable, but at least I understand the coding pattern now. I'll add working versions.