Modified index.js from using 'net' to using 'http'.
update merge