Replaced socket implementation with jailket