why not use `http` module instead? either works... but it seems odd to be using curl when node has native api to get this stuff done.