Rewrite fateserver with Node.js

Signed-off-by: Timothy Gu <timothygu99@gmail.com>