Juwang http server2 - Resolve Port number conflict and fixes based on review comments

Fixes based on the previous review comments on httpServer
Resolved port number conflict issue to assign a port number on the fly in case there is a conflict. Ensure the same port number is registered as Tracking URI.  As port number conflict can be only detected when Server starts, so put server creation and server starts in the same block to ensure whoever trigger the server creation first, a correct port number will be assigned and used for tracking.