If DNS resolution is cached, we need to impersonate the Pubnub
process when doing tcp_connect() - as we might have been called
from a different process.