title: NodeJS HTTP Server - How To Verify Client's IP and Login?
body: <p>If I decide to use http module for my server, which module/method(s) I need to do the following?</p>
  
  <ul>
  <li>To Verify the source IP address of connecting client?</li>
  <li>If the server requires the URL like <a href="http://username:password@exmaple.com/method1" rel="nofollow noreferrer">http://username:password@exmaple.com/method1</a>, how do i setup the Http server of NodeJS to accept such authentication and how do i verify the credentials provided from the client's connection?</li>
  </ul>
  
  <p>Thanks.</p>