Refactor port number use into service descriptor to enable SSL for services

This is a major change which breaks API but is required in order to support
SSL communication for services as used by network connections.
heartbeat: Implement basic "network heartbeat" service protocol
ideviceheartbeat: Add simpe tool which keeps heartbeat service connection alive