From scratch implementation of an HTTP Server and Client using Node.js