Start making change to support redundant console.

o	Add <console> tag to parser.
o	Pull out stream-oriented getaddrinfo()-based functions to create
	listening sockets and make connections.