NCHK-2849: Use the hostname when connecting the socket
Add parameters to the checkserver for the port and override file
Merge pull request #387 from IDPF/p/apond/cr/checkserver_updates

P/apond/cr/checkserver updates