Made response send function more node-like
Move the recursion to it's own module
Add basic Mocha test