iocore: introduce ports

Ports are addresses of services on a node. As with TCP/UDP
ports, each service can be addressed with host:port pair.

One can get port number of a service with IOCore,discover()
call.
iocore: use flags in envmsg header
examples: update