* Use the "primary-port-name" label to discover ports * Fixed warning message * Fixed code style issue * Use the "primary-port-name" label to discover ports * Do not change previous behaviour! * Fixed possibility of NPE * Updated documentation * Added fallbacks to https and http named ports * Extracted port discovery logic into a separate function * Fixed code style issue * Fixed another code style issue