Protect the lowest level socket calls