Added whitelist setting for socket connections