Gaming Control Panel in NodejS

I have written a gaming control panel in PHP and it works well, it is just very slow and it is also quite messy. I recently discovered NodeJS and it looks like a much better alternative. I was wondering what the best way to lay out the project is.

For example, would I want to create an HTTP server and a TCP server, the TCP server being the 'daemon', where you can send requests to it from the HTTP server. This would mean I could also offer users some kind of client to directly use the TCP server as a console for their server and they can execute their commands and add new ones.

The other alternative would be to just have an HTTP server and it can execute commands on the servers from there.

I'm also thinking about using SSH to connect between the servers.. does this sound like a good idea?

Thanks for your help.