Removing socket code that we won't use.