Major rewrite: removed CMD server, ported client command/control to HTTP on web server