Make createServer API be consistent with httpServer on node core
Merge pull request #10 from KrishnaSwathi/master

Make createServer API be consistent with httpServer on node core