Expose localPort and a connect event to allow built in identd servers