Removed test socket code.