node curl wrapper with fully implemented